package cn.edu.guet.mapper.lnc;

import cn.edu.guet.bean.lnc.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PageMapper {
    public String viewPage(String userid);
    //lnc 显示最新帖子
    public List<Post_lnc> displayLastestPost();
    public List<Post_lnc> displayHottestPost();
    public List<Dgroup_lnc> displayDgroup();
    public List<PostType> displayPostType();
    public int displayNumOfPost(String tid);
    public List<PostForSearch> displayResult(String s);
    public Users_lnc viewUser(String userid);
    public int viewInfo(String userid);
}
